<?php

namespace app\admin\common;

class Constants
{
    public static $COMPANY_ID_KEY = "__COMPANY_ID_KEY";
    public static $IS_ADMIN = "IS_ADMIN";

    public static $COMMON_PASSWORD = "123456";
    public static $SEAL_APPY_FORM_STATUS_KEY = "__APPY_FORM_STATUS";

    public static $SEAL_TYPE_KEY = "__SEAL_TYPE_KEY";
    public static $SEAL_STATUS_KEY = "__SEAL_STATUS_KEY";


    public static $DELAY_QUEUE = [
        'queue'   => 'delay_queue',//队列名称
        'handler' => 'app\admin\job\SendPaymentNoticeJob'//处理器
    ];

    public static function getApprovalStatuses()
    {
        return [1 => "可用", 2 => "禁用"];
    }

    public static function getApprovalStyleFreees()
    {
        return [1 => "否", 2 => "是"];
    }

}